<template>
  <div class="app-container">
    <el-table  :data="tableData" >
      <el-table-column prop="jhTraffic" label="流量串" width="180"></el-table-column>
      <el-table-column prop="jhPrice" label="售卖金额" width="180"></el-table-column>
      <el-table-column prop="userName" label="购买用户"></el-table-column>
      <!-- 表里没有购买时间，暂时先用 createdTime 代替     -->
      <el-table-column prop="jhCreatedTime" label="购买时间"></el-table-column>
    </el-table>
  </div>
</template>

<script>
export default {
  name: "TableComponent",
  props: {
    tableData: {
      type: Array,
      required: true
    }
  }
};
</script>
